package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

/**
 * @author hu
 * @date 2025/1/29
 */
public interface DeptService {
    List<Dept> listAll();

    void deleteById(Integer id);

    void addDept(Dept dept);

    void updateDept(Dept dept);

    Dept selectDeptById(Integer id2);
}
